package com.ynet.middleground.contract.bean;

import java.util.Date;

import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;

import com.ynet.core.common.BaseReqObjPager;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @description 合约签署信息统计请求类
 * @date 2020-03-18
 */
@Data
@ApiModel(value = "合约签署信息统计请求对象", description = "合约签署信息统计请求对象")
public class PortContractSignStatisticsReq extends BaseReqObjPager {

    private static final long serialVersionUID = 1924173969989126572L;

    @ApiModelProperty(value = "创建时间起", notes = "创建时间起", dataType = "Date")
    private Date createTimeStart;

    @ApiModelProperty(value = "创建时间止", notes = "创建时间止d", dataType = "Date")
    private Date createTimeEnd;

    /**
     * 合约状态：0-未签署（新建保存状态下）、1-签署中、2-已签署、3-已结束
     */
    @Pattern(regexp = "^[\\x01-\\x7f]*$", message = "不能使用中文字符")
    @Size(min = 1, max = 1, message = "长度为1")
    @ApiModelProperty(value = "合约状态：0-未签署（新建保存状态下）、1-签署中、2-已签署、3-已结束", notes = "合约状态：0-未签署（新建保存状态下）、1-签署中、2-已签署、3-已结束",
        dataType = "String")
    private String status;

    /**
     * 合约类型
     */
    @ApiModelProperty(value = "合约类型", notes = "合约类型", dataType = "String")
    private String contractTypeCode;

    /**
     * 产品类型
     */
    @ApiModelProperty(value = "产品类型", notes = "产品类型", dataType = "String")
    private String productType;

    /**
     * 渠道：C01-小贷，C02-保理，C03-青港易付，C04-财务信贷平台，C05-中台内管
     */
    @ApiModelProperty(value = "渠道：C01-小贷，C02-保理，C03-青港易付，C04-财务信贷平台，C05-中台内管",
        notes = "渠道：C01-小贷，C02-保理，C03-青港易付，C04-财务信贷平台，C05-中台内管", dataType = "String")
    private String queryChannel;

}
